// Encryption.cpp: implementation of the Encryption class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "PidginEncryptionPlugin.h"
#include "Encryption.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

#include <Windows.h>
#include <iostream>
#include <string>

using namespace std;

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

Encryption::Encryption(string userID)
{
	//
	//create the config dir
	//
	//get the config dir
	char *appdataDir;

   /* Get the value of the LIB environment variable. */
   appdataDir = getenv( "APPDATA" );

   if( appdataDir == NULL )
      exit(-1);

	string _appdataDir=appdataDir;
	string configDir=_appdataDir+"/Sep24TH.com";
	CreateDirectory(configDir.c_str(),NULL);
	configDir+="/PidginEncryptionPlugin";
	CreateDirectory(configDir.c_str(),NULL);

}

Encryption::~Encryption()
{

}

string GetPublicKey(String userID){

}